<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8">
  <title>layui</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="/woniu/Public/X-admin/css/x-admin.css" media="all">
  <!-- 注意：如果你直接复制所有代码到本地，上述css路径需要改成你本地的 -->
</head>
<body>
          
 
 
<div id="demo8"></div>
 <ul id="biuuu_city_list"></ul>       
          
<script src="/woniu/Public/X-admin/lib/layui/layui.js" charset="utf-8"></script>
        <script src="/woniu/Public/X-admin/js/x-layui.js" charset="utf-8"></script>
<!-- 注意：如果你直接复制所有代码到本地，上述js路径需要改成你本地的 -->
<script>
layui.use(['laypage', 'layer'], function(){
  var laypage = layui.laypage
  ,layer = layui.layer;
  
  //显示页数
  var num=2;
  // tots=<?php echo ($tot); ?>/2;
  // alert(tots);
  //调用分页
  laypage({
    cont: 'demo8'
    ,pages: <?php echo ($zong); ?>
    // ,pages: Math.ceil(data.length/nums) //得到总页数
    ,groups:5
  });
  
  
  
});
</script>

</body>
</html>